﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GIMS.MODEL
{
    public class M_IcmReceive
    {
        private Int32 ICM_RC_SEQ;
        private Int32 TRANS_MAS_SEQ;
        private Int32 LOT_NUMBER;
        private Int32 ICM_RES_ITEM_SEQ;
        private Int32 RECEIVE_TYPE_SEQ;
        private DateTime DATE_EXPIRED;
        private bool AUTO_TRANSFER_ORGANIZE_FLAG;
        private double PRICE;
        private double QUANTITY;
        private double QUANTITY_REMAIN_BEFORE;
        private double QUANTITY_REMAIN_AFTER;
        private double QUANTITY_REMAIN;
        private string REMARK;
        private string RECORD_STATUS;
        private Int32 CREATED_BY;
        private DateTime CREATED_WHEN;
        private Nullable<Int32> UPDATED_BY;
        private DateTime UPDATED_WHEN;
        //***Show in recieve***

        private string ICM_RES_ITEM_NAME;
        private Nullable<double> ITEM_QTY;
        private Nullable<double> ITEM_PRICE_EXCLUDE_VAT;
        private Nullable<double> ITEM_PRICE_INCLUDE_VAT;
        private Nullable<double> EXCLUDE_VAT_AMOUNT;
        private Nullable<double> VAT_AMOUNT;
        private Nullable<double> NET_AMOUNT;
        private Nullable<DateTime> RECEIVE_DATE;
        private string INVOICE_NUMBER;
        private Nullable<DateTime> INVOICE_DATE;
        private Nullable<DateTime> SCHEDULE_RECEIVE_DATE;
        private string ICM_PO_REF_NO;// icm_po_ref_no;
        // For Transection Code
        private string TRANSCODE_RUNNING;
        private string STRYEAR;
        private string STRMONTH;
        private string DERIVERY_REF_NO;
        
        public string icm_res_item_name
        {
            get { return ICM_RES_ITEM_NAME; }
            set { ICM_RES_ITEM_NAME = value; }
        }
        public Nullable<double> item_qty
        {
            get { return ITEM_QTY; }
            set { ITEM_QTY = value; }
        }
        public Nullable<double> item_price_exclude_vat
        {
            get { return ITEM_PRICE_EXCLUDE_VAT; }
            set { ITEM_PRICE_EXCLUDE_VAT = value; }
        }
        public Nullable<double> item_price_include_vat
        {
            get { return ITEM_PRICE_INCLUDE_VAT; }
            set { ITEM_PRICE_INCLUDE_VAT = value; }
        }
        public Nullable<double> exclude_vat_amount
        {
            get { return EXCLUDE_VAT_AMOUNT; }
            set { EXCLUDE_VAT_AMOUNT = value; }
        }
        public Nullable<double> vat_amount
        {
            get { return VAT_AMOUNT; }
            set { VAT_AMOUNT = value; }
        }
        public Nullable<double> net_amount
        {
            get { return NET_AMOUNT; }
            set { NET_AMOUNT = value; }
        }
        public Int32 icm_rc_seq
        {
            get { return ICM_RC_SEQ; }
            set { ICM_RC_SEQ = value; }
        }
        public Int32 trans_mas_seq
        {
            get { return TRANS_MAS_SEQ; }
            set { TRANS_MAS_SEQ = value; }
        }
        public Int32 lot_number
        {
            get { return LOT_NUMBER; }
            set { LOT_NUMBER = value; }
        }
        public Int32 icm_res_item_seq
        {
            get { return ICM_RES_ITEM_SEQ; }
            set { ICM_RES_ITEM_SEQ = value; }
        }
        public Int32 receive_type_seq
        {
            get { return RECEIVE_TYPE_SEQ; }
            set { RECEIVE_TYPE_SEQ = value; }
        }
        public DateTime date_expired
        {
            get { return DATE_EXPIRED; }
            set { DATE_EXPIRED = value; }
        }
        public bool auto_transfer_organize_flag
        {
            get { return AUTO_TRANSFER_ORGANIZE_FLAG; }
            set { AUTO_TRANSFER_ORGANIZE_FLAG = value; }
        }
        public double price
        {
            get { return PRICE; }
            set { PRICE = value; }
        }
        public double quantity
        {
            get { return QUANTITY; }
            set { QUANTITY = value; }
        }
        public double quantity_remain_before
        {
            get { return QUANTITY_REMAIN_BEFORE; }
            set { QUANTITY_REMAIN_BEFORE = value; }
        }
        public double quantity_remain_after
        {
            get { return QUANTITY_REMAIN_AFTER; }
            set { QUANTITY_REMAIN_AFTER = value; }
        }
        public double quantity_remain
        {
            get { return QUANTITY_REMAIN; }
            set { QUANTITY_REMAIN = value; }
        }
        public string remark
        {
            get { return REMARK; }
            set { REMARK = value; }
        }
        public string record_status
        {
            get { return RECORD_STATUS; }
            set { RECORD_STATUS = value; }
        }
        public Int32 created_by
        {
            get { return CREATED_BY; }
            set { CREATED_BY = value; }
        }
        public DateTime created_when
        {
            get { return CREATED_WHEN; }
            set { CREATED_WHEN = value; }
        }
        public Nullable<Int32> updated_by
        {
            get { return UPDATED_BY; }
            set { UPDATED_BY = value; }
        }
        public DateTime updated_when
        {
            get { return UPDATED_WHEN; }
            set { UPDATED_WHEN = value; }
        }
        public Nullable<DateTime> receive_date
        {
            get { return RECEIVE_DATE; }
            set { RECEIVE_DATE = value; }
        }
        public string invoice_number
        {
            get { return INVOICE_NUMBER; }
            set { INVOICE_NUMBER = value; }
        }
        public Nullable<DateTime> invoice_date
        {
            get { return INVOICE_DATE; }
            set { INVOICE_DATE = value; }
        }
        public Nullable<DateTime> schedule_receive_date
        {
            get { return SCHEDULE_RECEIVE_DATE; }
            set { SCHEDULE_RECEIVE_DATE = value; }
        }
        public string icm_po_ref_no
        {
            get { return ICM_PO_REF_NO; }
            set { ICM_PO_REF_NO = value; }
        }
        public string transcode_running
        {
            get { return TRANSCODE_RUNNING; }
            set { TRANSCODE_RUNNING = value; }
        }
        public string stryear
        {
            get { return STRYEAR; }
            set { STRYEAR = value; }
        }
        public string strmonth
        {
            get { return STRMONTH; }
            set { STRMONTH = value; }
        }

        public string derivery_ref_no
        {
            get { return DERIVERY_REF_NO; }
            set { DERIVERY_REF_NO = value; }
        }
    }
}
